MyInvalRect
Handles a frame invalidation request. This is how you would define your invalidation request function if you were to name it MyInvalRect:
void MyInvalRect (JMFrameRef frame, const Rect* dimens);
frame
- The frame that contains the area to be invalidated.
dimens
- A pointer to the dimensions of the frame.
DISCUSSION
When creating a frame you must designate a callback function to invalidate a portion of the frame if necessary (in a manner similar to the MacOS Toolbox function callInvalRect
). The invalid portion can be updated later using theJMFrameUpdate
function. This function is always called from within aMySetupPort
andMyRestorePort
pair.SEE ALSO
TheMySetUpPort
function (page 102).The
MyRestorePort
function (page 102).The
JMFrameUpdate
function (page 88).